

export default {

    namespaced: true,  //空间命名，解决重名问题
    state: {
        cartData: 100
    },
    mutations: {
        changeCart(state:any) {
            console.log('cart');
            state.cartData = state.cartData + 50
        }
    }
}